package com.ruoyi.system.https.vo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "soapenv:Envelope")
public class ZMES_GET_PWOQA_REQUEST {
    // 根元素类
    @JacksonXmlProperty(isAttribute = true,localName = "xmlns:soapenv")
    private  String soapenv="http://schemas.xmlsoap.org/soap/envelope/";
    @JacksonXmlProperty(isAttribute = true,localName = "xmlns:urn")
    private  String urn="urn:sap-com:document:sap:soap:functions:mc-style";
    @JacksonXmlProperty(localName = "soapenv:Header")
    private String header;
    @JacksonXmlProperty(localName = "soapenv:Body")
    private SoapBody body;

    // Body 元素类
    @Data
    public static class SoapBody {
        @JacksonXmlProperty(localName = "urn:ZmesGetPwoqa")
        private ZmesGetPwoqa zmesGetPwoqa;

        public void setZmesGetPwoqa(ZmesGetPwoqa zmesGetPwoqa) {
            this.zmesGetPwoqa = zmesGetPwoqa;
        }
        public ZmesGetPwoqa getZmesGetPwoqa() {
            return zmesGetPwoqa;
        }
    }
    // ZmesGetPwoi 元素类

    public static class ZmesGetPwoqa {
        @JacksonXmlProperty(localName = "OrderNo")
        private String orderNo;
        @JacksonXmlProperty(localName = "Pwoqa")
        private Pwoqa pwoqa;

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }
        public String getOrderNo() {
            return orderNo;
        }
        public void setPwoqa(Pwoqa pwoqa) {
            this.pwoqa = pwoqa;
        }
        public Pwoqa getPwoqa() {
            return pwoqa;
        }
    }
    public static class Pwoqa{
        @JacksonXmlProperty(localName = "item")
        private Item item;
        public void setItem(Item item) {
            this.item = item;
        }
        public Item getItem() {
            return item;
        }
    }
    @Data
    public static class Item{
        @JacksonXmlProperty(localName = "Aufnr")
        private String Aufnr;
        @JacksonXmlProperty(localName = "Werks")
        private String Werks;
        @JacksonXmlProperty(localName = "Plnbez")
        private String Plnbez;
        @JacksonXmlProperty(localName = "Maktx")
        private String Maktx;
        @JacksonXmlProperty(localName = "Kurztext")
        private String Kurztext;
        @JacksonXmlProperty(localName = "Toleranzun")
        private String Toleranzun;
        @JacksonXmlProperty(localName = "Toleranzob")
        private String Toleranzob;
        @JacksonXmlProperty(localName = "Masseinhsw")
        private String Masseinhsw;
        @JacksonXmlProperty(localName = "Msehl")
        private String Msehl;
        @JacksonXmlProperty(localName = "PanelPreparation")
        private String PanelPreparation;
        public Item(){
            Aufnr = "";
            Werks = "";
            Plnbez = "";
            Maktx = "";
            Kurztext = "";
            Toleranzun = "";
            Toleranzob = "";
            Masseinhsw = "";
            Msehl = "";
            PanelPreparation = "";
        }
    }

}
